home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 5
/
Amiga Plus Sonderheft 1996 #5.iso
/
programme
/
imagedesk304
/
imagedesk
/
instdata.lha
/
instdata
/
rexx
/
Config.IDesk
next >
Wrap
Text File
|
1996-01-15
|
775b
|
34 lines
/* --------------------- standard startup ----------------------- */
OPTIONS RESULTS
if( ADDRESS() ~= "IDESK_REXXPORT" ) then
ADDRESS IDESK_REXXPORT
/* -------------------------------------------------------------- */
SPWIN
if( rc ~= 0 )
then CALL CHECKABORT
VPWIN
if( rc ~= 0 )
then CALL CHECKABORT
TPWIN
if( rc ~= 0 )
then CALL CHECKABORT
SAVEPREFS "ImageDesk.idprefs"
if( rc = 0 )
then IDREQUEST "OK" '"Config has been saved successfully'||'0A'x||'Please select >Quit< from the menu"'
else ERRORMSG '"An Error occured while saving the config"'
EXIT
CHECKABORT: PROCEDURE
IDREQUEST "OK|CANCEL" '"Do You want abort the config procedure?"'
if( result = 1 )
then do
IDREQUEST "OK" '"Please select >Quit< from the menu"'
EXIT
end
RETURN 0